blob: 2f767d1deac51b99123ec030386dd9a1643fb7b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
import { UserProfileBadge } from "@/components/layout/user-profile-badge"
import Image from "next/image"
import { authOptions } from "@/app/api/auth/[...nextauth]/route"
import { getServerSession } from "next-auth/next"
export default async function PendingLayout({
children,
}: {
children: React.ReactNode
}) {
const session = await getServerSession(authOptions)
return (
<div className="min-h-screen bg-gradient-to-br from-blue-50 to-indigo-100">
{/* 헤더 없음 - 단순한 로고만 */}
<div className="w-full py-4 px-6">
<div className="flex justify-between items-center">
<div className="flex items-center gap-2">
<Image
className="dark:invert"
src="/images/vercel.svg"
alt="EVCP Logo"
width={20}
height={20}
/>
<span className="text-lg font-bold text-gray-800">eVCP</span>
</div>
{/* 간단한 사용자 정보만 */}
<UserProfileBadge user={session?.user} />
</div>
</div>
{/* 메인 컨텐츠 */}
<main className="container mx-auto px-6 py-8">
{children}
</main>
</div>
)
}
|